Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IntervalArray<T> Class / CopyTo Method / CopyTo(T[],Int32,Int32,Int32) Method
The one-dimensional System.Array that is the destination of the elements copied from IntervalArray<T>. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
The zero-based index in array at which starts copying.
The length of copied items.


In This Topic
    CopyTo(T[],Int32,Int32,Int32) Method
    In This Topic
    Copies the elements of the IntervalArray<T> to an System.Array, starting at a particular System.Array index.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array() As T, _
       ByVal arrayIndex As Integer, _
       ByVal index As Integer, _
       ByVal length As Integer _
    ) 
    'Usage
     
    
    Dim instance As IntervalArray(Of T)
    Dim array() As T
    Dim arrayIndex As Integer
    Dim index As Integer
    Dim length As Integer
     
    instance.CopyTo(array, arrayIndex, index, length)
    public void CopyTo( 
       T[] array,
       int arrayIndex,
       int index,
       int length
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from IntervalArray<T>. The System.Array must have zero-based indexing.
    arrayIndex
    The zero-based index in array at which copying begins.
    index
    The zero-based index in array at which starts copying.
    length
    The length of copied items.
    See Also